home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / amigae.jan.archive / 000050_crash!QUCDN.QU…UEENSU.CA!3NDS3_Sat, 22 Jan 94 01:02:29 PST.msg < prev    next >
Text File  |  1994-02-17  |  10KB  |  247 lines

  1. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  2.       id <1msi@bkhouse.cts.com>; Sat, 22 Jan 94 01:02:29 PST
  3. Received: from QUCDN.QueensU.CA by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #18) id m0pNTGz-0000myC; Fri, 21 Jan 94 13:20 PST
  5. Received: from QUCDN.QUEENSU.CA by QUCDN.QueensU.CA (IBM VM SMTP V2R2)
  6.    with BSMTP id 5594; Fri, 21 Jan 94 16:18:16 EST
  7. Received: from QUCDN.QueensU.CA (NJE origin 3NDS3@QUCDN) by QUCDN.QUEENSU.CA (LMail V1.1d/1.7f) with BSMTP id 0342; Fri, 21 Jan 1994 16:18:15 -0500
  8. Message-Id: <m0pNTGz-0000myC@crash.cts.com>
  9. Date:         Fri, 21 Jan 94 16:16:39 EST
  10. In-Reply-To:  Message of Thu, 20 Jan 1994 07:16:19 -0500 (EST) from <JVANRIPER@UNCA.EDU>
  11. From: 3NDS3 <3NDS3@QUCDN.QueensU.CA>
  12. To: The AmigaE Mailing List <AmigaE@bkhouse.cts.com>
  13. Subject: Re: ListServer suggestion
  14.  
  15. On Thu, 20 Jan 1994 07:16:19 -0500 (EST) Joseph E. Van_Riper III said:
  16. >So... is that cool?  Does everyone else on the list think that's a good idea?
  17. >Is it possible (or easy) to implement?
  18.  
  19. It sounds like a good idea to me. The only question is whether it's easy for
  20. the listserv manager to implement. People should learn to RTFM if they have
  21. one, though. :-)
  22.  
  23.        Dave
  24.  
  25. >
  26. >- Trey
  27. >
  28. >
  29. >
  30. From crash!delphi.com!NES Sat, 22 Jan 94 01:03:49 PST
  31. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  32.       id <1mua@bkhouse.cts.com>; Sat, 22 Jan 94 01:03:49 PST
  33. Received: from bos1b.delphi.com by crash.cts.com with smtp
  34.     (Smail3.1.28.1 #18) id m0pNaew-00001yC; Fri, 21 Jan 94 21:13 PST
  35. Received: from delphi.com by delphi.com (PMDF V4.2-11 #4520) id
  36.  <01H7YN2BV9B88X04VW@delphi.com>; Fri, 21 Jan 1994 23:22:41 EDT
  37. Date: Fri, 21 Jan 1994 23:22:41 -0400 (EDT)
  38. Message-id: <01H7YN2BV9BA8X04VW@delphi.com>
  39. X-VMS-To: IN%"AmigaE@bkhouse.cts.com"
  40. MIME-version: 1.0
  41. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  42. Content-transfer-encoding: 7BIT
  43. From: NES@delphi.com
  44. To: AmigaE@bkhouse.cts.com
  45. Subject: Re: ListServer suggestion
  46.  
  47. I think the answer is to send the people who don't know how to get
  48. off the list a message.  Since they can not remember simple things.
  49.  Eric <NES@delphi.com>
  50. "Member of the electric tent from hell"
  51. From crash!tso.uc.EDU!usr1400a Sun, 23 Jan 94 01:02:48 PST
  52. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  53.       id <1mxa@bkhouse.cts.com>; Sun, 23 Jan 94 01:02:48 PST
  54. Received: from ROCK.SAN.UC.EDU by crash.cts.com with smtp
  55.     (Smail3.1.28.1 #18) id m0pNjZh-00015sC; Sat, 22 Jan 94 06:44 PST
  56. Received: from tso.uc.edu by UCBEH.SAN.UC.EDU (PMDF V4.2-14 #4918) id
  57.  <01H7Z90VJP5S91XX2V@UCBEH.SAN.UC.EDU>; Sat, 22 Jan 1994 09:47:25 EST
  58. Received: by tso.uc.edu (4.1/SMI-4.1) id AA08010; Sat, 22 Jan 94 09:44:24 EST
  59. Date: Sat, 22 Jan 1994 09:44:24 -0500 (EST)
  60. Message-id: <9401221444.AA08010@tso.uc.edu>
  61. Content-transfer-encoding: 7BIT
  62. From: usr1400a@tso.uc.EDU (Carl Jolley)
  63. To: amigae@bkhouse.cts.COM
  64. Subject: Re: More GUI problems
  65.  
  66. In your message you said:
  67.  
  68. > What I'd like to know is a system-friendly way of creating a LIST.
  69. > I know I can simply
  70. >   DEF listv:PTR TO LONG
  71. >   listv:=[0,0,0,0]
  72. >   listv[0]:=listv+4
  73. >   listv[2]:=listv
  74.  
  75. I was just wondering if the following would be equivalent to your example.
  76.  
  77.   DEF listv:PTR TO LONG
  78.   listv:=[listv+4,0,listv,0]
  79.  
  80. It might well depend on exactly how Wouter generates E code. Clearly, your
  81. example would work because the "value" of listv would be stored before
  82. any of the list elements which reference its "value". BTW, I'm quoting
  83. "value" to make sure that it remains clear that the "value" in listv is
  84. actually a memory address.
  85. From crash!plucky.ike.safb.af.mil!bwills Sun, 23 Jan 94 01:03:06 PST
  86. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  87.       id <1mxm@bkhouse.cts.com>; Sun, 23 Jan 94 01:03:06 PST
  88. Received: from kirk.safb.af.mil by crash.cts.com with smtp
  89.     (Smail3.1.28.1 #18) id m0pNknE-0001I8C; Sat, 22 Jan 94 08:02 PST
  90. Received: from ike (ike [140.175.6.44]) by kirk.safb.af.mil (8.6.4/8.6.4) with SMTP id KAA02843 for <amigae@bkhouse.cts.com>; Sat, 22 Jan 1994 10:01:53 -0600
  91. Received: from plucky.safb.af.mil by ike (4.1/SMI-4.1)
  92.     id AA07444; Sat, 22 Jan 94 09:58:14 CST
  93. Received: by plucky.safb.af.mil (4.1/SMI-4.1)
  94.     id AA00464; Sat, 22 Jan 94 09:59:51 CST
  95. Date: Sat, 22 Jan 94 09:59:51 CST
  96. Message-Id: <9401221559.AA00464@plucky.safb.af.mil>
  97. From: bwills@plucky.safb.af.mil (Barry D Wills)
  98. To: 
  99. Subject: re: More GUI problems
  100.  
  101. /*
  102.   In reply to Rob's question:
  103.  
  104.   >> What I'd like to know is a system-friendly way of creating a LIST.
  105.   >>
  106.   >> I know I can simply
  107.   >>
  108.   >>   DEF listv:PTR TO LONG
  109.   >>   listv:=[0,0,0,0]
  110.                ^^^^^^^
  111.   You really only need three 0's here.
  112.  
  113.   >>   listv[0]:=listv+4
  114.   >>   listv[2]:=listv
  115.   >>
  116.   >> But that appears to me to be a very Mickey Mouse way of doing it. Surely
  117.   >> there is a function? Can't find one in exec.lib   (This is exec LISTs Im
  118.   >> chatting about, not  'E' lists.)
  119.  
  120.   Ahem.  There is nothing Mickey Mouse about MAN-HANDLING memory,
  121.   methinks.  Are we MICE or MEN?  But if your asking for a "more
  122.   elegant and refined" way of expressing your E prowess, this must
  123.   be the code you're looking for. :-)
  124.  */
  125.  
  126. MODULE 'exec/lists'
  127.  
  128. RAISE "MEM" IF New()=NIL
  129.  
  130. OBJECT my_mln
  131.   pred, succ, data
  132. ENDOBJECT
  133.  
  134. PROC newList(list:PTR TO mlh)
  135.   list.head:=list+4
  136.   list.tail:=0
  137.   list.tailpred:=list
  138. ENDPROC
  139.  
  140. PROC listIsEmpty(list:PTR TO mlh) RETURN list.tailpred=list
  141.  
  142. PROC main() HANDLE
  143.   DEF l=NIL:PTR TO mlh,
  144.       n=NIL:PTR TO my_mln
  145.   newList(l:=New(SIZEOF mlh))
  146.   WriteF('List is\s empty.\n', IF listIsEmpty(l) THEN '' ELSE ' not')
  147.   /*-------------------------------------------------------*
  148.     Create objects of type my_mln, then use execlist
  149.     functions to link/unlink 'em.  myObject can also be
  150.     fashioned after the listnode (ln) object type instead
  151.     of the minlistnode (mln) object type shown above.
  152.    *-------------------------------------------------------*/
  153.   AddHead(l, n:=New(SIZEOF my_mln))
  154.   WriteF('List is\s empty.\n', IF listIsEmpty(l) THEN '' ELSE ' not')
  155.   Remove(n)
  156.   Dispose(n)
  157.   WriteF('List is\s empty.\n', IF listIsEmpty(l) THEN '' ELSE ' not')
  158. EXCEPT
  159.   IF exception="MEM" THEN WriteF('Out of memory\n')
  160.   CleanUp(20)
  161. ENDPROC
  162. From crash!plucky.ike.safb.af.mil!bwills Sun, 23 Jan 94 01:03:15 PST
  163. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  164.       id <1mxs@bkhouse.cts.com>; Sun, 23 Jan 94 01:03:15 PST
  165. Received: from kirk.safb.af.mil by crash.cts.com with smtp
  166.     (Smail3.1.28.1 #18) id m0pNl23-0000h4C; Sat, 22 Jan 94 08:17 PST
  167. Received: from ike (ike [140.175.6.44]) by kirk.safb.af.mil (8.6.4/8.6.4) with SMTP id KAA02866 for <amigae@bkhouse.cts.com>; Sat, 22 Jan 1994 10:17:13 -0600
  168. Received: from plucky.safb.af.mil by ike (4.1/SMI-4.1)
  169.     id AA07534; Sat, 22 Jan 94 10:13:38 CST
  170. Received: by plucky.safb.af.mil (4.1/SMI-4.1)
  171.     id AA00473; Sat, 22 Jan 94 10:15:15 CST
  172. Date: Sat, 22 Jan 94 10:15:15 CST
  173. Message-Id: <9401221615.AA00473@plucky.safb.af.mil>
  174. From: bwills@plucky.safb.af.mil (Barry D Wills)
  175. To: 
  176. Subject: UnsubscribEEs
  177.  
  178. I like the idea of sending out a periodic reminder to
  179. unsubscribe correctly.  The problem with replying to
  180. most of these people is that once they send the
  181. UNSUBSCRIBE request, they don't read their mail any
  182. more.  If they did then they wouldn't keep hurling
  183. their UNSUBSCRIBE requests at amigae@bkhouse after
  184. I've sent them three of four replies telling them how
  185. to get faster response. :-/
  186.  
  187. -- Barry
  188. From crash!edtng.Kenosha.WI.US!Kenny_Anderson Sun, 23 Jan 94 01:03:44 PST
  189. Received: by bkhouse.cts.com (V1.17-beta/Amiga)
  190.       id <1myh@bkhouse.cts.com>; Sun, 23 Jan 94 01:03:44 PST
  191. Received: from cs.uwp.edu by crash.cts.com with smtp
  192.     (Smail3.1.28.1 #18) id m0pNpGs-0000lLC; Sat, 22 Jan 94 12:49 PST
  193. Received: from edtng.Kenosha.WI.US by cs.uwp.edu with UUCP id AA26228
  194.   (5.65c/IDA-1.4.4 for bkhouse.cts.com!amigae); Sat, 22 Jan 1994 14:30:31 -0600
  195. Received: by edtng.Kenosha.WI.US (V1.16/Amiga)
  196.     id AA00j4v; Sat, 22 Jan 94 11:40:43 CST
  197. Date: Sat, 22 Jan 94 11:40:43 CST
  198. Message-Id: <9401221740.AA00j4u@edtng.Kenosha.WI.US>
  199. From: Kenny_Anderson@edtng.Kenosha.WI.US (Kenny Anderson)
  200. To: amigae@bkhouse.cts.com
  201. Subject: Re: More GUI problems
  202.  
  203. In a message dated Sat 22 Jan 94  7:00, uwpcs!multi.multiline.com.au!robbag
  204. wrote:
  205.  
  206.  > Try this:
  207.  
  208.  >   Gt_SetGadgetAttrsA(..................[GTLV_LABELS,yourlabel,.........]
  209.  > )
  210.  
  211.  > Yep, that easy.. just tell the gadget to look at your list for the
  212.  > labels
  213.  > again.
  214.  
  215. OK, I've tried this in my code....
  216.  
  217.       SELECT gadgetid
  218.       CASE ADDLIST
  219.         AddTail(lvlist,[0,0,0,0,'!x!']:ln)
  220.         Gt_SetGadgetAttrsA(clicked,win,NIL,[GTLV_LABELS,$FFFFFFFF])
  221.         Gt_SetGadgetAttrsA(clicked,win,NIL,[GTLV_LABELS,lvlist])
  222.       ENDSELECT
  223.  
  224. What I want to happen is: when I click on my "Add" button, the string '!x!'
  225. (just for testing, don't worry!) to appear at the bottom of the list. But
  226. clicking on the button for the first time results in nothing, whilst
  227. clicking it again causes the process to hang....
  228. I guess LISTVIEW's aren't my thing ... :)
  229.  
  230.  
  231.  
  232. -- Via DLG Pro v0.995
  233.  
  234. Cheers!
  235.  
  236.  
  237.  
  238. Kenny                                          _____   _________________
  239. -----                                         //   /__//   _____ //     \
  240. Kenny Anderson a.k.a. Ken D/LSD              //   /   \\____    \/  //   \
  241. Kenny_Anderson@EDTNG.Kenosha.WI.US           \\   \    \   \\    \  \\    \
  242. IRC: KenD             Mono: ken_d             \\_______/_________/________/
  243.  
  244. Amiga; why compromise?
  245.